package cn.kgc.hotel.entity;

import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Setter
@Getter
@Alias("Room")
//房间实体类
public class Room {
    //房间ID
    private Integer roomId;
    //房间号
    private Integer roomNum;
    //房型ID
    private Integer typeId;
    //楼层
    private Integer floor;
    //备注信息
    private Integer note;
    //住客
    private Customer customer;
    //状态ID
    private int stateId;
    //状态
    private String state;
    //房型信息
    private RoomType roomType;

    private List<RoomDate> roomDateList;

    private RoomState roomState;
}
